<?php /* Smarty version 2.6.26, created on 2012-05-12 14:52:52
         compiled from C:%5CWampDeveloper%5CWebsites%5Cwww.siyaradiali.com%5Cwebroot%5Cplugins%5Clisting_status%5Crecently_sold.block.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'str2path', 'C:\\WampDeveloper\\Websites\\www.siyaradiali.com\\webroot\\plugins\\listing_status\\recently_sold.block.tpl', 11, false),array('modifier', 'cat', 'C:\\WampDeveloper\\Websites\\www.siyaradiali.com\\webroot\\plugins\\listing_status\\recently_sold.block.tpl', 39, false),array('modifier', 'replace', 'C:\\WampDeveloper\\Websites\\www.siyaradiali.com\\webroot\\plugins\\listing_status\\recently_sold.block.tpl', 40, false),)), $this); ?>
<!-- recently sold listings block -->

<?php if (! empty ( $this->_tpl_vars['ls_listings'] )): ?>
	<ul class="featured">
	<?php $_from = $this->_tpl_vars['ls_listings']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['rsold_listing']):
?>
		<?php $this->assign('type', $this->_tpl_vars['rsold_listing']['Listing_type']); ?>
		<?php $this->assign('page_key', $this->_tpl_vars['listing_types'][$this->_tpl_vars['type']]['Page_key']); ?>
		<li class="item" id="fli_<?php echo $this->_tpl_vars['rsold_listing']['ID']; ?>
">
			<div class="content">
				<?php if ($this->_tpl_vars['rsold_listing']['Image_unlim'] != '0' || $this->_tpl_vars['rsold_listing']['Image'] != '0'): ?>
					<a <?php if ($this->_tpl_vars['config']['featured_new_window']): ?>target="_blank"<?php endif; ?> href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['page_key']]; ?>
/<?php echo $this->_tpl_vars['rsold_listing']['Path']; ?>
/<?php echo rlSmarty::str2path(array('string' => $this->_tpl_vars['rsold_listing']['listing_title']), $this);?>
-<?php echo $this->_tpl_vars['rsold_listing']['ID']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['page_key']]; ?>
&amp;id=<?php echo $this->_tpl_vars['rsold_listing']['ID']; ?>
<?php endif; ?>">
						<img alt="<?php echo $this->_tpl_vars['rsold_listing']['listing_title']; ?>
" title="<?php echo $this->_tpl_vars['rsold_listing']['listing_title']; ?>
" src="<?php if (empty ( $this->_tpl_vars['rsold_listing']['Main_photo'] )): ?><?php echo $this->_tpl_vars['rlTplBase']; ?>
img/no-picture.jpg<?php else: ?><?php echo @RL_URL_HOME; ?>
files/<?php echo $this->_tpl_vars['rsold_listing']['Main_photo']; ?>
<?php endif; ?>" style="width: <?php echo $this->_tpl_vars['config']['pg_upload_thumbnail_width']; ?>
px;height: <?php echo $this->_tpl_vars['config']['pg_upload_thumbnail_height']; ?>
px;" />
					</a>
				<?php endif; ?>
					
				<?php $this->assign('available_field', 1); ?>
				<ul>
				<?php $_from = $this->_tpl_vars['rsold_listing']['fields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['fieldsF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['fieldsF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['field'] => $this->_tpl_vars['item']):
        $this->_foreach['fieldsF']['iteration']++;
?>
					<?php if (! empty ( $this->_tpl_vars['item']['value'] ) && $this->_tpl_vars['item']['Details_page']): ?>
						<li id="flf_<?php echo $this->_tpl_vars['rsold_listing']['ID']; ?>
_<?php echo $this->_tpl_vars['item']['Key']; ?>
" <?php if ($this->_tpl_vars['available_field'] == 1): ?>class="first"<?php endif; ?> <?php if ($this->_tpl_vars['listing_types'][$this->_tpl_vars['type']]['Photo']): ?>style="width: <?php echo $this->_tpl_vars['config']['pg_upload_thumbnail_width']+4; ?>
px;"<?php endif; ?>>
							<?php if ($this->_tpl_vars['available_field'] == 1): ?>
								<a <?php if ($this->_tpl_vars['config']['featured_new_window']): ?>target="_blank"<?php endif; ?> href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['page_key']]; ?>
/<?php echo $this->_tpl_vars['rsold_listing']['Path']; ?>
/<?php echo rlSmarty::str2path(array('string' => $this->_tpl_vars['rsold_listing']['listing_title']), $this);?>
-<?php echo $this->_tpl_vars['rsold_listing']['ID']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['page_key']]; ?>
&amp;id=<?php echo $this->_tpl_vars['rsold_listing']['ID']; ?>
<?php endif; ?>">
									<?php echo $this->_tpl_vars['item']['value']; ?>

								</a>
							<?php else: ?>
								<?php echo $this->_tpl_vars['item']['value']; ?>

							<?php endif; ?>
						</li>
						<?php $this->assign('available_field', $this->_tpl_vars['available_field']+1); ?>
					<?php endif; ?>
				<?php endforeach; endif; unset($_from); ?>
				<?php if ($this->_tpl_vars['available_field'] == 1): ?><li></li><?php endif; ?>
				</ul>
			</div>
	<?php endforeach; endif; unset($_from); ?>
	</ul>
<div>
<?php else: ?>
	<?php $this->assign('ls_lang', ((is_array($_tmp='lsl_')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['ls_key']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['ls_key']))); ?>
	<div style="margin: 10px;" class="grey_middle"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lang']['rsold_no_listings'])) ? $this->_run_mod_handler('replace', true, $_tmp, "[days]", $this->_tpl_vars['ls_days']) : smarty_modifier_replace($_tmp, "[days]", $this->_tpl_vars['ls_days'])))) ? $this->_run_mod_handler('replace', true, $_tmp, "[label]", $this->_tpl_vars['lang'][$this->_tpl_vars['ls_lang']]) : smarty_modifier_replace($_tmp, "[label]", $this->_tpl_vars['lang'][$this->_tpl_vars['ls_lang']])); ?>
</div>
<?php endif; ?>


<!--  recently sold listings block -->
